<template>
  <div>
    <div>登录页面</div>
    <v-btn @click="doClick">按钮</v-btn>
  </div>
</template>
<script lang="ts" setup>
import {CacheManager} from "@/cache";
import {useRouter} from "vue-router";

const router = useRouter()
const doClick = () => {
  CacheManager.setToken(new Date().getTime() + "")
  router.push("/")
}
</script>

<style scoped>

</style>
